package com.elai.baseconfig.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 黑名单对象 base_black_list
 *
 * @author elai
 * @date 2021-07-18
 */
public class BaseBlackListDO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 应用ID */
    @Excel(name = "应用ID")
    private Long applicationId;



    private String applicationName;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 值 */
    @Excel(name = "值")
    private String value;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }

    public void setApplicationId(Long applicationId)
    {
        this.applicationId = applicationId;
    }
    public Long getApplicationId()
    {
        return applicationId;
    }

    public void setType(Integer type)
    {
        this.type = type;
    }
    public Integer getType()
    {
        return type;
    }

    public void setValue(String value)
    {
        this.value = value;
    }
    public String getValue()
    {
        return value;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }
    public String getStatus()
    {
        return status;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applicationId", getApplicationId())
            .append("type", getType())
            .append("value", getValue())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
